package com.hnyc.goods.service.impl;

import com.hnyc.goods.domain.GoodsLocal;
import com.hnyc.goods.domain.GoodsOnline;
import com.hnyc.goods.mapper.GoodsBindMapper;
import com.hnyc.goods.service.IGoodsBindService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @auther zero
 * @date 2023/3/11
 **/
@Service
public class GoodsBindServiceImpl implements IGoodsBindService {
    @Resource
    GoodsBindMapper goodsBindMapper;
    @Override
    public List<GoodsLocal> selectGoodsBindByOnlineId(String onlineId) {
        return goodsBindMapper.selectGoodsBindByOnlineId(Long.parseLong(onlineId));
    }
}
